<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
      <head>
        <title>Media</title>
		<script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
		<script type="JavaScript" src="sound.js"></script>
        
        <!-// Wait for Cordova to load
       	document.addEventListener("deviceready", onDeviceReady, false);
       	// Cordova is ready
		//
		function onDeviceReady() {
			var mPlayer = new media_player("/android_asset/sound/Sir_Dropper.mp3");
			mPlayer.playAudio();
		}->
		
      </head>
      <body>
        <a href="#" class="btn large" onclick="mPlayer.playAudio('/android_asset/sound/Sir_Dropper.mp3');">Play Audio</a>
        <a href="#" class="btn large" onclick="mPlayer.pauseAudio();">Pause Playing Audio</a>
        <a href="#" class="btn large" onclick="mPlayer.stopAudio();">Stop Playing Audio</a>
        <p id="audio_position"></p>
      </body>
    </html>